package com.zp.mvppractice.beans;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * Created by izp on 2017/2/7.
 */

public class ResponseBean<T> implements Serializable {
    /**
     * body : {"count":1,"data":[{"leadername":"","cpid":52,"mobile":"15736096668","token":"Gw8Ih34q9Tg7YyNlupek","role":4,"cpname":"北京数云互联科技有限公司","cpverified":2,"nickname":"真冷淡","id":157,"settingdays":15}]}
     * head : {"msg":"","ID":0,"result":1}
     */
    @SerializedName("body")
    private BodyBean<T> body;
    @SerializedName("head")
    private HeadBean head;

    public BodyBean<T> getBody() {
        return body;
    }

    public void setBody(BodyBean<T> body) {
        this.body = body;
    }

    public HeadBean getHead() {
        return head;
    }

    public void setHead(HeadBean head) {
        this.head = head;
    }
}
